package com.kai.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CoachDto {
    private String id;
    private String name;
    private String sex;
    private String phone;
    private String address;
    private int state;
    private int provinceId;
    private int cityId;
    private int countyId;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat
    private Date datecreated;
}
